package com.neuedu.jxcboot.service.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import com.neuedu.jxcboot.entity.User;
import com.neuedu.jxcboot.mapper.UserMapper;
import com.neuedu.jxcboot.service.UserService;

@Service
@Transactional(rollbackFor = Exception.class)
public class UserServiceImpl extends BaseServiceImpl<User> implements UserService {
	
	@Autowired
	private UserMapper userMapger;

	@Override
	public User login(String userName, String password) {
		
		return userMapger.login(userName, password);
	}

}
